Availability | 3.0 |
Description | Prepares for an advanced text or tag search by loading the specified XML query. |
Arguments | xmlQueryString |
The argument is a string of XML code beginning with <dwquery> and ending with </dwquery> . (To get a string of the proper format, set up the query in the Find dialog box, click the Save Query button, open the query file in a text editor, and copy everything from the beginning of the <dwquery> tag to the end of the </dwquery> tag.) |
|
Returns | Nothing. |
Enabler | None. |
Example | The first line of the following code sets up a tag search and specifies that the scope of the search should be the current document; the second line performs the search operation: |
![]() |
dw.setUpComplexFind('<dwquery><queryparams matchcase="false" ignorewhitespace="true" useregexp="false"/><find><qtag qname="a"><qattribute qname="href" qcompare="=" qvalue="#"></qattribute><qattribute qname="onMouseOut" qcompare="=" qvalue="" qnegate="true"></qattribute></qtag></find></dwquery>'); dw.findNext(); |
|
![]() |